package main

import "fmt"

type innerS struct {
	int1, int2 int
}

type outerS struct {
	b int
	c float64
	int
	innerS
}

func main() {
	outer := new(outerS)
	outer.b = 333
	outer.c = 333.333
	outer.int = 444
	outer.int1 = 1
	outer.int2 = 2
	fmt.Println("outer: ", outer) // output: outer:  &{333 333.333 444 {1 2}}

	out2 := &outerS{10, 1.66, 50, innerS{3, 5}}
	fmt.Println("outer2: ", out2) // output: outer2:  &{10 1.66 50 {3 5}}
}
